﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Compiler.CompilerAPI;

namespace Compiler.Unification.Auxiliary
{
    public class UnificationError :  SemanticError
    {
        public UnificationError(string errorMessage)
            : base(errorMessage)
        { }

        public override string ToString()
        {
            return "Ошибка унификации. " 
                + this.ErrorMessage;
        }
    }
}
